<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('contract_payment_plan/index',array('contract_id'=>input('contract_id')))}">收款计划</a></li>
			<li class="active"><a href="{:url('contract_payment_plan/add',array('contract_id'=>input('contract_id')))}">添加收款计划</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('contract_payment_plan/add')}">
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>计划收款日期
				</label>
				<div class="col-md-3 col-sm-6">
					<input type="text" class="form-control js-bootstrap-date" name="plan_date" autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">
					<span class="form-required">*</span>计划收款费用
				</label>
				<div class="col-md-3 col-sm-6">
					<input type="text" class="form-control" name="amount">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" value="{:input('contract_id')}" name="contract_id">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>